home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 27.zip
/
BS1 part 27
/
Condo.V2.04_d2.adf
/
HelpFiles
/
Variables
< prev
next >
Wrap
Text File
|
1993-03-08
|
9KB
|
489 lines
F- Absolute |absolute|
F- Ascii |ascii|
F- CenterString |centerstring|
F- Char |char|
C- Dispose |dispose|
C- DisposeAll |disposeall|
F- DupeString |dupestring|
V- False |false|
F- FindChars |findchars|
F- FindWord |findword|
F- Fraction |fraction|
F- GetChars |getchars|
F- GetWord |getword|
F- InsertChars |insertchars|
F- Integer |integer|
F- LeftJustify |leftjustify|
C- Let |let|
F- Logical |logical|
F- LowerCase |lowercase|
F- Max |max|
V- MaxInteger |maxinteger|
V- MaxValue |maxvalue|
F- Min |min|
V- MinInteger |mininteger|
V- MinValue |minvalue|
V- No |no|
V- Nothing |nothing|
F- NumberOfChars |numberofchars|
F- NumberOfWords |numberofwords|
V- Off |off|
V- On |on|
F- PositionOfWord |positionofword|
F- Random |random|
F- Real |real|
F- RemoveChars |removechars|
F- RightJustify |rightjustify|
F- Round |round|
F- Sign |sign|
F- SquareRoot |squareroot|
F- String |string|
F- TrimString |trimstring|
V- True |true|
F- UpperCase |uppercase|
F- Whole |whole|
V- Yes |yes|
[E]
|absolute|
WT {Value}=Absolute({Value})
PL Returns the absolute value of {Value}.
ED
|ascii|
WT {Integer}=Ascii({String})
PL Returns the ASCII value of the first
PL character in the string.
PL
PT SEE ALSO:
BS Char
PT .
ED
|centerstring|
WT {String}=CenterString({String}, {Width} [,{WhiteSpace}])
PL Returns a string containing a center
PL justified string of a specified length.
PL The string will be padded with the
PL {WhiteSpace} or, by default, spaces.
PL
PT SEE ALSO:
BS RightJustify
PT and
BS LeftJustify
PT .
ED
|char|
WT {String}=Char({Integer})
PL Returns a single character corresponding
PL to an ASCII integer.
PL
PT SEE ALSO:
BS Ascii
PT .
ED
|dispose|
WT Dispose <VarName>
PL Erases the specified variable from
PL memory.
PL
PT SEE ALSO:
BS DisposeAll
PT .
ED
|disposeall|
WT DisposeAll
PL Erases all variable from memory.
PL
PT SEE ALSO:
BS Dispose
PT .
ED
|dupestring|
WT {String}=DupeString({String}, {Count})
PL Duplicates the given string {Count} times
PL and returns it as a single string.
ED
|false|
WT {Logical}=False
PL The Logical or Boolean value FALSE.
PL
PT SEE ALSO:
BS No
PT and
BS Off
PT .
ED
|findchars|
WT {Integer}=FindChars({SourceString}, {SearchString} [,{StartAtChar}])
PL Returns the offset of the {SearchString}
PL if found in the {SourceString}, or else
PL it returns 0. The search will begin at
PL the {StartAtChar}.
PL
PT SEE ALSO:
BS FindWord
PT .
ED
|findword|
WT {Integer}=FindWord({SourceString}, {SearchString} [,{StartAtWord} [,{WordDelimiters}]])
PL Searches {SourceString} for the matching
PL {SearchString} and returns its word number.
PL If not found it will return 0. See the
PL manual for a full description of this
PL function.
PT SEE ALSO:
BS FindChars
PT .
ED
|fraction|
WT {Value}=Fraction({Expression})
PL Returns the fractional part of the
PL {Expression} when evaluated as a floating
PL point value.
PL
PT SEE ALSO:
BS Whole
PT .
ED
|getchars|
WT {String}=GetChars({String}, {StartAtChar}, {NumberOfChars})
PL Returns a string of {NumberOfChars}
PL characters taken from the {SourceString}
PL beginning at the {StartAtChar}.
PL
PT SEE ALSO:
BS GetWord
PT .
ED
|getword|
WT {String}=GetWord({String}, {WordNum} [,{WordDelimiters}])
PL Returns the {WordNum} word in the
PL {SourceString}. See the manual for a
PL full description of this function.
PL
PT SEE ALSO:
BS GetChars
PT .
ED
|insertchars|
WT {String}=InsertChars({SourceString}, {DestinationString} [,{StartAtChar}])
PL Inserts a {SourceString} into the
PL {DestinationString} at the specified offset.
PL
PT SEE ALSO:
BS RemoveChars
PT .
ED
|integer|
WT {Integer}=Integer({Expression})
PL Returns the result of the {Expression} as
PL an Integer value.
ED
|leftjustify|
WT {String}=LeftJustify({String}, {Width} [,{WhiteSpace}])
PL Returns a {String} containing a left
PL justified string of a specified length.
PL The string will be padded with the
PL {WhiteSpace} or, by default, spaces.
PL
PT SEE ALSO:
BS RightJustify
PT and
BS CenterString
PT .
ED
|let|
WT Let <VarName>={Expression}
PL This command assigns the results of the
PL {Expression} to the variable <VarName>.
ED
|logical|
WT {Logical}=Logical({Expression})
PL Returns the result of the {Expression} as
PT an Logical or Boolean state.
BS False
PL would
PT be any zero or null string and
BS True
PL would be
PL any non-zero value.
ED
|lowercase|
WT {String}=LowerCase({String})
PL Returns a {String} with all the characters
PL converted to lowercase.
PL
PT SEE ALSO:
BS UpperCase
PT .
ED
|max|
WT {Integer}=Max({Integer}, {Integer} [,up to ten integers])
PL Returns the value of the largest argument.
PL
PT SEE ALSO:
BS Min
PT .
ED
|maxinteger|
WT {Integer}=MaxInteger
PL Returns the largest possible integer.
PL
PT SEE ALSO:
BS MinInteger
PT and
BS MaxValue
PT .
ED
|maxvalue|
WT {Value}=MaxValue
PL Returns the largest possible floating
PL point value.
PL
PT SEE ALSO:
BS MaxInteger
PT and
BS MinValue
PT .
ED
|min|
WT {Integer}=Min({Integer}, {Integer} [,up to ten integers])
PL Returns the value of the smallest argument.
PL
PT SEE ALSO:
BS Max
PT .
ED
|mininteger|
WT {Integer}=MinInteger
PL Returns the smallest possible integer.
PL
PT SEE ALSO:
BS MaxInteger
PT and
BS MinValue
PT .
ED
|minvalue|
WT {Value}=MinValue
PL Returns the smallest possible floating point
PL value.
PL
PT SEE ALSO:
BS MaxValue
PT and
BS MinInteger
PT .
ED
|no|
WT {Logical}=No
PL The Logical or Boolean value FALSE.
PL
PT SEE ALSO:
BS False
PT and
BS Off
PT .
ED
|nothing|
WT {Nothing}=Nothing
PL This returns the same as an uninitialized
PL variable and is also the same as an null
PL string variable.
ED
|numberofchars|
WT {Integer}=NumberOfChars({String})
PL Returns the number of characters in the
PL given {String}.
PL
PT SEE ALSO:
BS NumberOfWords
PT .
ED
|numberofwords|
WT {Integer}=NumberOfWords({String} [,{WordDelimiters}])
PL Returns the number of words in the given
PL {String}.
PL
PT SEE ALSO:
BS NumberOfChars
PT .
ED
|off|
WT {Logical}=Off
PL The Logical or Boolean value FALSE.
PL
PT SEE ALSO:
BS No
PT and
BS False
PT .
ED
|on|
WT {Logical}=On
PL The Logical or Boolean value TRUE.
PL
PT SEE ALSO:
BS Yes
PT and
BS True
PT .
ED
|positionofword|
WT {Integer}=PositionOfWord({String}, {WordNum} [,{WordDelimiters}])
PL Returns the character position of the
PL {WordNum} word in the {String}. See the
PL manual for a full description of this
PL function.
ED
|random|
WT {Integer}=Random({MinimumInteger},{MaximumInteger})
PL Returns a random integer between and
PL including the {MinimumInteger} and
PL {MaximumInteger} values.
ED
|real|
WT {Real}=Real({expression})
PL Returns the result of the {Expression} as
PL a floating point value.
ED
|removechars|
WT {String}=RemoveChars({String}, {StartAtChar}, {NumberOfChars})
PL Removes characters from {SourceString}
PL beginning at {StartAtChar} and for
PL {NumberOfChars} amount of characters.
PL
PT SEE ALSO:
BS InsertChars
PT .
ED
|rightjustify|
WT {String}=RightJustify({String}, {Width} [,{WhiteSpace}])
PL Returns a {String} containing a right
PL justified string of a specified length.
PL The string will be padded with the
PL {WhiteSpace} or, by default, spaces.
PL
PT SEE ALSO:
BS LeftJustify
PT and
BS CenterString
PT .
ED
|round|
WT {Value}=Round({Value} [,{DigitPlace})
PL Rounds the given value to the specified
PL digit place. If {DigitPlace} is not given
PL then we use 0. See the manual for a full
PL description of this function.
ED
|sign|
WT {Integer}=Sign({Value})
PL Returns the sign of the value.
PL
PL 1 if value is positive.
PL 0 if value is zero.
PL -1 if value is negative.
ED
|squareroot|
WT {Value}=SquareRoot({Value})
PL Returns the square root of the given
PL {Value}.
ED
|string|
WT {String}=String({Expression})
PL Returns the result of the {Expression} as
PL a text string.
ED
|trimstring|
WT {String}=TrimString({String})
PL Returns a string with leading and trailing
PL space and TAB characters removed. Also,
PL multiple space and TAB characters within
PL the string are replaced with a single space.
ED
|true|
WT {Logical}=True
PL The Logical or Boolean value TRUE.
PL
PT SEE ALSO:
BS Yes
PT and
BS On
PT .
ED
|uppercase|
WT {String}=UpperCase({String})
PL Returns a {String} with all the characters
PL converted to uppercase.
PL
PT SEE ALSO:
BS LowerCase
PT .
ED
|whole|
WT {Value}=Whole({Expression})
PL Returns the whole number part of the
PL {Expression} when evaluated as a floating
PL point value.
PL
PT SEE ALSO:
BS Fraction
PT .
ED
|yes|
WT {Logical}=Yes
PL The Logical or Boolean value TRUE.
PL
PT SEE ALSO:
BS True
PT and
BS On
PT .
ED